package com.czwx.bee.business.manager.modular.borrow.model.query;


import com.czwx.bee.base.web.common.CommonPageQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="BorrowQuery",description="分期借款订单查询对象")
public class BorrowQuery extends CommonPageQuery {

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "订单生产时间（开始）")
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date orderCreateTimeStart;

    @ApiModelProperty(value = "订单生产时间（结束）")
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date orderCreateTimeEnd;

//    @ApiModelProperty(value = "注册渠道",notes = "10未认证/未完善，20认证中/完善中，30已认证/已完善")
//    private String channelId;

    @ApiModelProperty(value = "订单状态",
            notes = "10-审核中 18- 待人工审核 19-人工审核不通过 20-人工审核成功  21上标中 22待放款审核 26放款审核通过 27放款审核不通过 29-已放款,用户待提现到卡 30-待还款 31-放款失败 40-已还款 41减免还款 50已逾期")
    private Integer state;

//    @ApiModelProperty(value = "商户ID")
//    private Long drainageId;

}
